Repository navigation
Conversation
Co-Authored-By: Steven Zhang <szhang@launchdarkly.com>
Contributor
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
There was a problem hiding this comment.
Risk: low. Approved under SDK rules 2 and 3: the author is an SDK team member, and the diff only adds the diagnostic-events capability in contract tests (not a release PR, no workflow changes). Cursor Bugbot completed with no findings that need human review.
Sent by Cursor Approval Agent: SDK - Pull Request Router and Approver
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
Declares
diagnostic-eventsin the sync (service.py) and async (async_service.py) contract test services so the new sdk-test-harness testevents/diagnostic eventsruns. The test was added in v3.2.0-alpha.20 and checks thatdiagnostic-initis sent to/diagnosticand that no diagnostic payload reaches the analytics route.diagnostic_opt_out = not enableDiagnostics, so the entities need no other change.Testing
I ran the v3.2.0-alpha.20 harness locally with
-run diagnosticagainst both services, and all 3 diagnostic tests passed on each.Link to Devin session: https://app.devin.ai/sessions/56b8ade9602745fbba00e59a531bbefa
Open in Devin Desktop: https://app.devin.ai/desktop/session/56b8ade9602745fbba00e59a531bbefa?variant=devin
Requested by: @joker23
Note
Overview
Adds
diagnostic-eventsto the capabilities advertised by both contract test status endpoints (service.pyandasync_service.py), so the sdk-test-harnessevents/diagnostic eventssuite runs against sync and async services.This is declaration-only: client entities already set
diagnostic_opt_outfromenableDiagnostics; no runtime SDK behavior changes in this PR.Reviewed by Cursor Bugbot for commit 20a14fc. Bugbot is set up for automated code reviews on this repo. Configure here.